package com.zjlanyun.erp.nohttp;

import com.yolanda.nohttp.rest.Response;

/**
 * @author: shun
 * @date: 2016-06-29 15:51
 * @desc: 接受回调结果
 */
public interface HttpListener<T> {

    void onSucceed(int what, Response<T> response);

    void onError(int what, Response<T> response);

    void onFailed(int what, Response<T> response);

    void onFinish(int what);

}
